-- cmd_black_market_buy_goods
-- Create by zouyb
-- 购买黑市商人的物品

function Operation.cmd_black_market_buy_goods(goodsIndex)
    -- 客户端先扣除消耗（金币钻石）
    BlackMarketM.buyGoods(goodsIndex);

    SyncM.addMessage("CMD_BLACK_MARKET_BUY_GOODS", { ["goods_index"] = goodsIndex, ["shop_id"] = BlackMarketM.getShopInfo()["last_refresh_time"], });
    SyncM.startSync();
end
